package cn.zniot.so.apiprovide.business;


/**
 * 服务响应
 */
public abstract class Response {

	private int code = 0;

	private boolean show = false;

	public abstract String toJsonPage();
	
	public boolean isShow() {
		return show;
	}

	public void setShow(boolean show) {
		this.show = show;
	}

	protected int getCode() {
		return code;
	}

	protected void setCode(int code) {
		this.code = code;
	}

}
